#ifndef COMPOSITE_H
#define COMPOSITE_H

#include <vector>
#include "Component.h"

using namespace std;

class Composite : public Component
{
public:
	Composite(std::string _name);
	virtual ~Composite();

	virtual void Print();
	void Add(Component* cmp);
	void Remove(Component* cmp);
	Component* GetChild(int nIndex);

private:
	std::vector<Component*> m_comVec;
};

#endif